<%@ Page Language="C#" MasterPageFile="~/Demo.master" AutoEventWireup="true"
 CodeFile="EventLeftBar.aspx.cs" Inherits="EventLeftBar" Title="Duration Bar (Calendar) | DayPilot Pro Demo" %>
<%@ Register Assembly="DayPilot" Namespace="DayPilot.Web.Ui" TagPrefix="DayPilot" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    DurationBarColor:
    <asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged">
        <asp:ListItem Value="hidden">Hidden</asp:ListItem>
        <asp:ListItem Value="default">Default</asp:ListItem>
        <asp:ListItem Value="red">Red</asp:ListItem>
        <asp:ListItem Value="green">Green</asp:ListItem>
    </asp:DropDownList><br />
    <br />
    <DayPilot:DayPilotCalendar ID="DayPilotCalendar1" runat="server" 
        DataTextField="name" 
        DataValueField="id" 
        DataStartField="start" 
        DataEndField="end" 
        DurationBarVisible="False"
        
        CssClassPrefix="calendar_silver_"
        HourNameBackColor=""
        BorderColor="#A0A0A0"
        CellBorderColor="#A0A0A0"
        EventBorderColor="#505050"
        AllDayEventBorderColor="#a0a0a0"        
        ></DayPilot:DayPilotCalendar>
    &nbsp;&nbsp;<br />
    <br />
</asp:Content>

